package com.example.sztangli.widgedemo.expandabelListView;

import android.os.Bundle;
import android.support.design.widget.FloatingActionButton;
import android.support.design.widget.Snackbar;
import android.support.v7.app.AppCompatActivity;
import android.support.v7.widget.Toolbar;
import android.view.View;

import com.example.sztangli.widgedemo.MainActivity;
import com.example.sztangli.widgedemo.R;
import com.example.sztangli.widgedemo.base.BaseActivity;
import com.example.sztangli.widgedemo.utils.ActivityUtils;

public class ExpandableActivity extends BaseActivity {

    @Override
    public int getLayoutResId() {
        return R.layout.activity_base;
    }

    @Override
    public void initalFragment() {
        setTitleCenter(getIntent().getStringExtra(MainActivity.TITLE));
       ExpandableFragment fragment=ExpandableFragment.newInstance();
        ActivityUtils.addFragmentToActivity(mFragmentManager,fragment,R.id.container,ExpandableFragment.TAG);
    }

}
